function insertPicture(code)
{
	document.getElementById("text").value += code;
}

function hideUploadButton(uploadID, hideID)
{
	el = document.getElementById(uploadID);
	el.style.display = 'none';
	el = document.getElementById(hideID);
	el.style.display = 'block';
}

function hideHideButton(uploadID, hideID)
{
	el = document.getElementById(hideID);
	el.style.display = 'none';
	el = document.getElementById(uploadID);
	el.style.display = 'block';
}